#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
    int num = 0;
    scanf("%d", &num);
    int count = 0;
    int sum = 0;
    while (num)
    {
        if (num % 10 % 2 == 0)
        {

        }
        else
        {
            sum = sum + 1 * pow(10, count);

        }
        num = num / 10;
        count++;
    }
    printf("%d", sum);

    return 0;
}